]> dgit.raspbian.org Git - gnome-shell.git/commit
base-icon: Always recreate icon texture on style changes
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 2 Mar 2011 23:25:23 +0000 (00:25 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 3 Mar 2011 22:14:32 +0000 (23:14 +0100)
commite01971eac7769abb67fe31d3e15b69abac2f3144
treeebc2694498d1fe4c4b4fe44df7cda3b88e0c323d
parentd6e29be980c1ef7ac577775f5162f103b167814a
base-icon: Always recreate icon texture on style changes

Currently the icon texture is only updated on style changes when
the icon size is set from CSS and differs from the previously used
icon size.
As the style change may have been triggered by an icon theme change,
textures that are created for themed icons should always be recreated;
given that this is the case for most uses (with the exception of
file thumbnails), recreate the icon texture unconditionally to avoid
complexity.

https://bugzilla.gnome.org/show_bug.cgi?id=643738
js/ui/iconGrid.js